<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="/jsp/head.jsp"%>
<%@ include file="/jsp/jslib.jsp"%>
<script type="text/javascript">
PAGE_CONFIG = {
	'MENU_INDEX' : 2,'LI_INDEX' : 2
};
</script>
</head>

<body>
<%@ include file="/jsp/banner.jsp"%>
<div class="am-cf admin-main">
    <%@ include file="/jsp/menu.jsp"%>
	
	<!-- content start -->
	<div class="admin-content">
		<div class="admin-content-body">
		
		<!-- ***** 分离出去 动态加载 start ***** -->
		
		<div class="admin-content-body">
		    <div class="am-cf am-padding am-padding-bottom-0">
		        <div class="am-fl am-cf">
		            <strong class="am-text-primary am-text-lg"> 编辑职位 </strong>
		        </div>
		    </div>
		    
		    <hr>
		    
            <form action="${ctx}/position/insertorupdate" method="post" class="am-form">
                <div class="am-g am-margin-top">
                    <div class="am-u-sm-4 am-u-md-2 am-text-right"> 职位名称 </div>
                    <div class="am-u-sm-8 am-u-md-4" hidden>
	                	<input id="positionId" name="positionId" type="text" class="am-input-sm" value="${param.positionId}">
	                </div>
	                <div class="am-u-sm-8 am-u-md-4">
	                    <input id="positionName" name="positionName" type="text" class="am-input-sm" value="${param.positionName}" required>
	                </div>
                    <div class="am-hide-sm-only am-u-md-6"> *必填 </div>
                </div>
                
                <div class="am-margin">
			        <button type="submit" class="am-btn am-btn-primary am-btn-sm am-margin-sm"> 保 存 </button>
			        <button type="button" class="am-btn am-btn-primary am-btn-sm am-margin-sm" onclick="javascript:window.location.href='${ctx}/position/all'"> 返 回 </button>
			    </div>
            </form>
		</div>
			
		<!-- ***** 分离出去 动态加载 end ***** -->
	</div>
	<!-- content end -->
</div>
</div>
</body>
</html>